package com.zmzncs.lmtc.common.pojo.bolian;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @Author 高博文
 * @Date 2020/12/07 15:15
 */
@Data
public class BoLianParkUpdateForm {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "车场ID（bolianParkId）",required = true)
    @NotNull
    @Size(max = 25)
    private String parkId;

    @ApiModelProperty(value = "1上传余位数/修改价格，2禁用车场",required = true)
    @NotNull
    @Max(value = 255)
    private Integer type;

    @ApiModelProperty(value = "总车位数",required = true)
    @NotNull
    @Max(value = 32767)
    private Integer totalPlot;

    @ApiModelProperty(value = "空闲车位数",required = true)
    @NotNull
    @Max(value = 32767)
    private Integer emptyPlot;

    @ApiModelProperty(value = "价格描述",required = true)
    @NotNull
    @Size(max = 25)
    private String priceDesc;

}
